from graph import*
windowSize(500,500)
x=int(input('x - '))
y=int(input('y - '))
n=int(input('n - '))
penColor('red')
brushColor('blue')
if x*n<=500 and x*n>=0 and y>=0 and y*n<=500 and y*n>=0 and n!=0 and x>=0:
 polygon([(x*n,y*n),(x*n+20*n,y*n),(x*n+20*n,y*n+20*n),(x*n+20*n+20*n,y*n+20*n),(x*n+20*n+20*n,y*n+20*n+20*n),(x*n+20*n,y*n+20*n+20*n),(x*n+20*n,y*n+20*n+20*n+20*n),(x*n,y*n+20*n+20*n+20*n),(x*n,y*n+20*n+20*n),(x*n,y*n+20*n)])
else:
    print('Размер фигуры превышает максимальный размер')
run()
